.comp_modal {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  justify-content: center;
  align-items: center;
  display: none;

  &.visible {
    display: flex;
    z-index: 2;

    .modal-overlay {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      width: 100%;
      height: 100%;
      cursor: pointer;
      z-index: 2;
    }

    .modal-content {
      z-index: 3;
    }
  }

  .modal-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    user-select: none;
    padding: 10px 10px 10px 15px;

    .btn-close {
      cursor: pointer;
      border: none;
      width: 30px;
      height: 30px;
      position: relative;
      display: flex;
      justify-content: center;
      align-items: center;
      background: transparent;

      &:hover {
        span {
          width: 2px;
        }
      }

      span {
        position: absolute;
        width: 1px;
        height: 16px;

        &:first-child {
          transform: rotate(45deg);
        }

        &:last-child {
          transform: rotate(-45deg);
        }
      }
    }

    .title {
      font-weight: bold;
      font-size: 14px;
    }
  }

  .modal-content {
    position: absolute;
    width: 100%;
    max-width: 720px;
    border-radius: 3px;
    max-height: calc(100% - 50px);
    display: flex;
    flex-direction: column;

    .modal-body {
      padding: 15px;
      overflow-y: auto;
    }
  }
}
